package aaexcercise.chap5.p5.p2;

import aaexcercise.chap5.p5.p1.MyContents;

/**
 * Created by Administrator on 2017/4/12.
 */
public class MyParcel {
//    protected 内部类
    protected class ContentsImpl implements MyContents{
        private String name;
        public ContentsImpl(String name){
            this.name = name;
        }
        @Override
        public String getName() {
            return name;
        }
    }


}
